import request from '@/utils/request'

export default {

    createStaData(day){
        return request({
            url: 'staservice/sta/registerCount/'+day,
            method:'post'
        })
    },

    showChart(searchObj) {
        return request({
            url: `staservice/sta/show-chart/${searchObj.begin}/${searchObj.end}/${searchObj.type}`,
            method: 'get'
        })
    }

}
